<?php

return [
    'PROJECT_NAME' => '商城',
    'sendgold' => '1000', //注册送金币
    'V_IOS' => 120,//配合ios审查 
    'moneyrate' => ['30', '50', '100', '200', '180', '365'], //充值级别
    'discount_rate' => [100, 98, 95, 90, 88], //折扣率
    

    /* 忽略大小写 */
    'URL_CASE_INSENSITIVE' => true,
    'URL_MODEL' => 2,
    'LOAD_EXT_CONFIG' => 'db_' . ENVIRONMENT . ',sdk_' . ENVIRONMENT . ',oauth,errors,route',
    'DEFAULT_MODULE' => 'Home',
    'MODULE_DENY_LIST' => ['Common'],
    // 'MODULE_ALLOW_LIST' => ['Home', 'Api'],
    'AUTOLOAD_NAMESPACE' => [
        'Util' => PROJECT_PATH . 'Library/Util',
        'Biz' => PROJECT_PATH . 'Library/Biz',
        'Auth' => PROJECT_PATH . 'Library/Auth',
        'RestClient' => PROJECT_PATH . 'Library/RestClient',
        'Transform' => PROJECT_PATH . 'Library/Transform',
        'Sms' => PROJECT_PATH . 'Library/Sms',
        'Ruben' => PROJECT_PATH . 'Library/Ruben',
        'JiaLeo' => PROJECT_PATH . 'Library/JiaLeo',
    ],
    'URL_ROUTER_ON' => true,
    'SESSION_AUTO_START' => false,
    'JWT_KEY' => '25b991321a2c677e2e16629d185e4502', // jwt 密钥，用于API接口签名
    'AUTH_KEY' => '747056764@qq.com', // 用户token 密钥,用于Access Token签名

    /* 默认上传方式 */
    'UPLOAD_TYPE_CONFIG' => 'Local',
    /* 系统配置缓存名 */
    'SETTING_CACHE_NAME' => 'sys_config',
    'CORS_DOMAINS' => [
        'http://rubenlab.test',
        'http://www.tina.local',
        'http://admin.taoxtao.local',
        'http://www.jinbanbook.local',
        'http://www.38yun.local',
        'http://www.liaoba.local',
        'http://www.jieban.local',
        'http://admin-52jieban.taoxtao.cn',
        'http://www.52jieban.com',
        'https://www.52jieban.com',
    ],
    'UPLOAD_DIR' => 'upload',
    /* 用于加密的KEY */
    'SECRET_KEY' => 'kflakdfjklasdgoi523oiu5235jkl',
    /* 用于验证的用户表 */
    'ADMIN_AUTH_MODEL' => 'AdminUser',
    'HOME_AUTH_MODEL' => 'User',
    'admin_email' => [
        'smtp' => 'smtp.qq.com',
        'username' => '747056764@qq.com',
        'password' => 'qphgiydgtzmmbbaf',
        'port' => '465',
        'from' => '747056764@qq.com',
        'sitename' => '金榜藏书',
    ],
    
    //im厂家
    'im'=>[
        'open'=>1,//是否开启
        'name'=>'yxim'//tcim,yxim
    ],
];
